//
//  MediaManager.h
//  OnionHome
//
//  Created by fengjie on 2019/10/8.
//  Copyright © 2019 FengJie. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSUInteger, MediaEditType) {
    MediaEditTypeCreate,
    MediaEditTypeEdited,
    MediaEditTypeDelete,
};
@interface MediaManager : NSObject

+ (NSString *)getVideoFileName;
+ (BOOL)deleteVideoFile:(NSString *)filePath;

+ (NSDictionary *)saveImage:(UIImage *)image;
+ (UIImage *)getImageByName:(NSString *)name;
+ (BOOL)deleteImageByName:(NSString *)name;


+ (NSString *)filePath:(NSString *)name;

+ (BOOL)createFolder;
+ (NSString *)createFilename;

@end

NS_ASSUME_NONNULL_END
